package com.zbec.mdrs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


public class HistoryVo  implements Serializable {
    private Long id;
    private Long recordNumber;
    private Date importDate;
    private String importBy;
    private String recordStatus;
    private String businessType;
    private String businessMonth;

    private String businessTypeDesc;


    public HistoryVo(){

    }

    public HistoryVo(Long id, Long recordNumber, Date importDate, String importBy, String recordStatus, String businessType, String businessMonth) {
        this.id = id;
        this.recordNumber = recordNumber;
        this.importDate = importDate;
        this.importBy = importBy;
        this.recordStatus = recordStatus;
        this.businessType = businessType;
        this.businessMonth = businessMonth;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRecordNumber() {
        return recordNumber;
    }

    public void setRecordNumber(Long recordNumber) {
        this.recordNumber = recordNumber;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getImportDate() {
        return importDate;
    }

    public void setImportDate(Date importDate) {
        this.importDate = importDate;
    }

    public String getImportBy() {
        return importBy;
    }

    public void setImportBy(String importBy) {
        this.importBy = importBy;
    }

    public String getRecordStatus() {
        return recordStatus;
    }

    public void setRecordStatus(String recordStatus) {
        this.recordStatus = recordStatus;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessMonth() {
        return businessMonth;
    }

    public void setBusinessMonth(String businessMonth) {
        this.businessMonth = businessMonth;
    }

    public String getBusinessTypeDesc() {
        return businessTypeDesc;
    }

    public void setBusinessTypeDesc(String businessTypeDesc) {
        this.businessTypeDesc = businessTypeDesc;
    }
}
